//------奖金测算 数据 人员考核结果--//------
import request from "@/router/axios";


export function fetchList(query) {
  return request({
    url: '/bonus/bonuspersonassess/page',
    method: 'get',
    params: query
  })
}

//新增
export function addObj(obj) {
  return request({
    url: '/bonus/bonuspersonassess',
    method: 'post',
    data: obj
  })
}

//编辑
export function putObj(obj) {
  return request({
    url: '/bonus/bonuspersonassess',
    method: 'put',
    data: obj
  })
}


export function delBatch(ids) {
  return request({
    url: '/bonus/bonuspersonassess/deleteBatch',
    method: 'get',
    params: ids
  })
}
